/**
 * @Author bian
 * @CreateDate 2017.3.3
 */
import { connect } from 'react-redux'
import UserVideo from "../../components/user/UserVideo/UserVideo.jsx"

import {getCourse} from "../../actions/user/course_video_actions"

const mapDispatchToProps = (dispatch) => {
    return {
        // init : () => {
        //     dispatch(getCourse())
        // }
    }
}

const mapStateToProps = (state,ownProps) => {
    const {courseVideo} = state
    return {
        // course : courseVideo.course
    }
}

const UserVideoContainer = connect(     // 给组件套壳
    mapStateToProps,
    mapDispatchToProps
)(UserVideo)

exports.UserVideoContainer = UserVideoContainer